package com.erlin.platform.controller.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Getter
@Setter
@ApiModel
public class AdminLoginParam implements Serializable {
    @ApiModelProperty(value = "用户名",required = true)
    @NotBlank
    private String userName;
    @NotBlank
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
